import Vue from "vue";
import VueRouter from "vue-router"
import Find from '@/components/Find.vue'
import My from '@/components/My.vue'
import Friend from '@/components/Friend.vue'
Vue.use(VueRouter)

// 创建VueRouter实例
const router = new VueRouter({
    // 重要 2
    routes: [
        {path: '/find', component: Find},
        {path: '/my', component: My},
        {path: '/friend', component: Friend},
    ]
})


export default router